// 社保筛选form
export const FormShebaoFilter = {
  rangeGUID: '',
  rangeGUIDs:'',
  securityGUID: '',
  insuredTime: new Date(),
  payMonth: '',
  description: '',
  declareSalary: ''
}

// 社保筛选item
export const FormShebaoFilterItem = [
  { type: 'select', label: '社保编号', placeholder: '请选择社保编号', prop: 'rangeGUID', model: 'rangeGUID', style: 'ivu-col-span-6', options: 'securitys', fn: 'changeRangeGUID', isShow: true },
  { type: 'select', label: '社保方案', placeholder: '请输入社保方案', prop: 'securityGUID', model: 'securityGUID', style: 'ivu-col-span-6', options: 'securitysPlay1', fn: 'getAddModel2', isShow: true },
  { type: 'datePicker', label: '参保时间', placeholder: '请选择参保时间', prop: 'insuredTime', model: 'insuredTime', style: 'ivu-col-span-6', fn: 'toCountMonth', isShow: true },
  { type: 'input', label: '补缴月数', placeholder: '请输入补缴月数', prop: 'payMonth', model: 'payMonth', style: 'ivu-col-span-6', fn: 'toCountDate', isShow: true },
  { type: 'input', label: '备注', placeholder: '请输入备注', prop: 'description', model: 'description', style: 'ivu-col-span-6', isShow: true },
  { type: 'input', label: '申报工资', placeholder: '请输入申报工资', prop: 'declareSalary', model: 'declareSalary', style: 'ivu-col-span-6', fn: 'toDeclare', isShow: true }
]

// 社保筛选 仅列表展示item
export const FormShebaoFilterOnlyViewItem = [
  { type: 'select', label: '社保编号', placeholder: '请选择社保编号', prop: 'securityNO', model: 'securityNO', style: 'ivu-col-span-6' },
  { type: 'select', label: '社保方案', placeholder: '请输入社保方案', prop: 'planName', model: 'planName', style: 'ivu-col-span-6' },
  { type: 'datePicker', label: '参保时间', placeholder: '请选择参保时间', prop: 'insuredTime', model: 'insuredTime', style: 'ivu-col-span-6' },
  // {type: 'input', label: '补缴月数', placeholder: '请输入补缴月数', prop: 'payMonth', model: 'payMonth', style: 'ivu-col-span-6'},
  { type: 'input', label: '备注', placeholder: '请输入备注', prop: 'description', model: 'description', style: 'ivu-col-span-6' },
  { type: 'input', label: '申报工资', placeholder: '请输入申报工资', prop: 'declareSalary', model: 'declareSalary', style: 'ivu-col-span-6' }
]

// 社保表头
export const FormShebaoTitle = [
  { text: '险种', span: '3' },
  { text: '默认基数', span: '5' },
  { text: '最低基数', span: '4' },
  { text: '最高基数', span: '4' },
  { text: '缴纳比例', span: '4' },
  { text: '缴纳金额', span: '4' }
]

// 社保表单form
export const FormShebao = {
  Pension: {
    Company: {
      baseAmount: '',
      maxAmount: '',
      maxPercent: '',
      minAmount: '',
      minPercent: '',
      paymentType: '',
      percent: '',
      totalAmount: ''
    },
    Employee: {
      baseAmount: '',
      maxAmount: '',
      maxPercent: '',
      minAmount: '',
      minPercent: '',
      paymentType: '',
      percent: '',
      totalAmount: ''
    },
    precision: ''
  },
  MedicalCare: {
    Company: {
      baseAmount: '',
      maxAmount: '',
      maxPercent: '',
      minAmount: '',
      minPercent: '',
      paymentType: '',
      percent: '',
      totalAmount: ''
    },
    Employee: {
      baseAmount: '',
      maxAmount: '',
      maxPercent: '',
      minAmount: '',
      minPercent: '',
      paymentType: '',
      percent: '',
      totalAmount: ''
    },
    precision: ''
  },
  Unemployment: {
    Company: {
      baseAmount: '',
      maxAmount: '',
      maxPercent: '',
      minAmount: '',
      minPercent: '',
      paymentType: '',
      percent: '',
      totalAmount: ''
    },
    Employee: {
      baseAmount: '',
      maxAmount: '',
      maxPercent: '',
      minAmount: '',
      minPercent: '',
      paymentType: '',
      percent: '',
      totalAmount: ''
    },
    precision: ''
  },
  InjuryOnTheJob: {
    Company: {
      baseAmount: '',
      maxAmount: '',
      maxPercent: '',
      minAmount: '',
      minPercent: '',
      paymentType: '',
      percent: '',
      totalAmount: ''
    },
    Employee: {
      baseAmount: '',
      maxAmount: '',
      maxPercent: '',
      minAmount: '',
      minPercent: '',
      paymentType: '',
      percent: '',
      totalAmount: ''
    },
    precision: ''
  },
  Birth: {
    Company: {
      baseAmount: '',
      maxAmount: '',
      maxPercent: '',
      minAmount: '',
      minPercent: '',
      paymentType: '',
      percent: '',
      totalAmount: ''
    },
    Employee: {
      baseAmount: '',
      maxAmount: '',
      maxPercent: '',
      minAmount: '',
      minPercent: '',
      paymentType: '',
      percent: '',
      totalAmount: ''
    },
    precision: ''
  },
  SeriousIllness: {
    Company: {
      baseAmount: '',
      maxAmount: '',
      maxPercent: '',
      minAmount: '',
      minPercent: '',
      paymentType: '',
      percent: '',
      totalAmount: ''
    },
    Employee: {
      baseAmount: '',
      maxAmount: '',
      maxPercent: '',
      minAmount: '',
      minPercent: '',
      paymentType: '',
      percent: '',
      totalAmount: ''
    },
    precision: ''
  },
  DisabledPersonsSecurityFund: {
    Company: {
      baseAmount: '',
      maxAmount: '',
      maxPercent: '',
      minAmount: '',
      minPercent: '',
      paymentType: '',
      percent: '',
      totalAmount: ''
    },
    Employee: {
      baseAmount: '',
      maxAmount: '',
      maxPercent: '',
      minAmount: '',
      minPercent: '',
      paymentType: '',
      percent: '',
      totalAmount: ''
    },
    precision: ''
  },
  OutpatientDepartment: {
    Company: {
      baseAmount: '',
      maxAmount: '',
      maxPercent: '',
      minAmount: '',
      minPercent: '',
      paymentType: '',
      percent: '',
      totalAmount: ''
    },
    Employee: {
      baseAmount: '',
      maxAmount: '',
      maxPercent: '',
      minAmount: '',
      minPercent: '',
      paymentType: '',
      percent: '',
      totalAmount: ''
    },
    precision: ''
  },
  AllInsurance: {
    Company: {
      baseAmount: '',
      maxAmount: '',
      maxPercent: '',
      minAmount: '',
      minPercent: '',
      paymentType: '',
      percent: '',
      totalAmount: ''
    },
    Employee: {
      baseAmount: '',
      maxAmount: '',
      maxPercent: '',
      minAmount: '',
      minPercent: '',
      paymentType: '',
      percent: '',
      totalAmount: ''
    },
    precision: ''
  }
}

// 社保表单item
export const FormShebaoItem = [
  {
    sectionTitle: 'Pension',
    sectionText: '养老',
    sectionItem: [
      {
        itemTitle: 'Company',
        itemText: '公司部分',
        itemShowRow: true,
        item: [
          { type: 'input', label: '默认基数', placeholder: '默认基数', prop: 'baseAmount', model: 'baseAmount', value: '', style: 'ivu-col-span-5', isDisabled: false, fn: 'inputOnBlur' },
          { type: 'input', label: '最低基数', placeholder: '最低基数', model: 'minAmount', value: '', style: 'ivu-col-span-4', isDisabled: true },
          { type: 'input', label: '最高基数', placeholder: '最高基数', model: 'maxAmount', value: '', style: 'ivu-col-span-4', isDisabled: true },
          { type: 'input', label: '缴纳比例', placeholder: '缴纳比例', model: 'percent', value: '', style: 'ivu-col-span-4', isDisabled: true },
          { type: 'input', label: '缴纳金额', placeholder: '缴纳金额', model: 'totalAmount', value: '', style: 'ivu-col-span-4', isDisabled: true }
        ]
      },
      {
        itemTitle: 'Employee',
        itemText: '个人部分',
        itemShowRow: true,
        item: [
          { type: 'input', label: '默认基数', placeholder: '默认基数', prop: 'baseAmount', model: 'baseAmount', value: '', style: 'ivu-col-span-5', isDisabled: false, fn: 'inputOnBlur' },
          { type: 'input', label: '最低基数', placeholder: '最低基数', model: 'minAmount', value: '', style: 'ivu-col-span-4', isDisabled: true },
          { type: 'input', label: '最高基数', placeholder: '最高基数', model: 'maxAmount', value: '', style: 'ivu-col-span-4', isDisabled: true },
          { type: 'input', label: '缴纳比例', placeholder: '缴纳比例', model: 'percent', value: '', style: 'ivu-col-span-4', isDisabled: true },
          { type: 'input', label: '缴纳金额', placeholder: '缴纳金额', model: 'totalAmount', value: '', style: 'ivu-col-span-4', isDisabled: true }
        ]
      }
    ]
  },
  {
    sectionTitle: 'MedicalCare',
    sectionText: '医疗',
    sectionItem: [
      {
        itemTitle: 'Company',
        itemText: '公司部分',
        itemShowRow: true,
        item: [
          { type: 'input', label: '默认基数', placeholder: '默认基数', prop: 'baseAmount', model: 'baseAmount', value: '', style: 'ivu-col-span-5', isDisabled: false, fn: 'inputOnBlur' },
          { type: 'input', label: '最低基数', placeholder: '最低基数', model: 'minAmount', value: '', style: 'ivu-col-span-4', isDisabled: true },
          { type: 'input', label: '最高基数', placeholder: '最高基数', model: 'maxAmount', value: '', style: 'ivu-col-span-4', isDisabled: true },
          { type: 'input', label: '缴纳比例', placeholder: '缴纳比例', model: 'percent', value: '', style: 'ivu-col-span-4', isDisabled: true },
          { type: 'input', label: '缴纳金额', placeholder: '缴纳金额', model: 'totalAmount', value: '', style: 'ivu-col-span-4', isDisabled: true }
        ]
      },
      {
        itemTitle: 'Employee',
        itemText: '个人部分',
        itemShowRow: true,
        item: [
          { type: 'input', label: '默认基数', placeholder: '默认基数', prop: 'baseAmount', model: 'baseAmount', value: '', style: 'ivu-col-span-5', isDisabled: false, fn: 'inputOnBlur' },
          { type: 'input', label: '最低基数', placeholder: '最低基数', model: 'minAmount', value: '', style: 'ivu-col-span-4', isDisabled: true },
          { type: 'input', label: '最高基数', placeholder: '最高基数', model: 'maxAmount', value: '', style: 'ivu-col-span-4', isDisabled: true },
          { type: 'input', label: '缴纳比例', placeholder: '缴纳比例', model: 'percent', value: '', style: 'ivu-col-span-4', isDisabled: true },
          { type: 'input', label: '缴纳金额', placeholder: '缴纳金额', model: 'totalAmount', value: '', style: 'ivu-col-span-4', isDisabled: true }
        ]
      }
    ]
  },
  {
    sectionTitle: 'Unemployment',
    sectionText: '失业',
    sectionItem: [
      {
        itemTitle: 'Company',
        itemText: '公司部分',
        itemShowRow: true,
        item: [
          { type: 'input', label: '默认基数', placeholder: '默认基数', prop: 'baseAmount', model: 'baseAmount', value: '', style: 'ivu-col-span-5', isDisabled: false, fn: 'inputOnBlur' },
          { type: 'input', label: '最低基数', placeholder: '最低基数', model: 'minAmount', value: '', style: 'ivu-col-span-4', isDisabled: true },
          { type: 'input', label: '最高基数', placeholder: '最高基数', model: 'maxAmount', value: '', style: 'ivu-col-span-4', isDisabled: true },
          { type: 'input', label: '缴纳比例', placeholder: '缴纳比例', model: 'percent', value: '', style: 'ivu-col-span-4', isDisabled: true },
          { type: 'input', label: '缴纳金额', placeholder: '缴纳金额', model: 'totalAmount', value: '', style: 'ivu-col-span-4', isDisabled: true }
        ]
      },
      {
        itemTitle: 'Employee',
        itemText: '个人部分',
        itemShowRow: true,
        item: [
          { type: 'input', label: '默认基数', placeholder: '默认基数', prop: 'baseAmount', model: 'baseAmount', value: '', style: 'ivu-col-span-5', isDisabled: false, fn: 'inputOnBlur' },
          { type: 'input', label: '最低基数', placeholder: '最低基数', model: 'minAmount', value: '', style: 'ivu-col-span-4', isDisabled: true },
          { type: 'input', label: '最高基数', placeholder: '最高基数', model: 'maxAmount', value: '', style: 'ivu-col-span-4', isDisabled: true },
          { type: 'input', label: '缴纳比例', placeholder: '缴纳比例', model: 'percent', value: '', style: 'ivu-col-span-4', isDisabled: true },
          { type: 'input', label: '缴纳金额', placeholder: '缴纳金额', model: 'totalAmount', value: '', style: 'ivu-col-span-4', isDisabled: true }
        ]
      }
    ]
  },
  {
    sectionTitle: 'InjuryOnTheJob',
    sectionText: '工伤',
    sectionItem: [
      {
        itemTitle: 'Company',
        itemText: '公司部分',
        itemShowRow: true,
        item: [
          { type: 'input', label: '默认基数', placeholder: '默认基数', prop: 'baseAmount', model: 'baseAmount', value: '', style: 'ivu-col-span-5', isDisabled: false, fn: 'inputOnBlur' },
          { type: 'input', label: '最低基数', placeholder: '最低基数', model: 'minAmount', value: '', style: 'ivu-col-span-4', isDisabled: true },
          { type: 'input', label: '最高基数', placeholder: '最高基数', model: 'maxAmount', value: '', style: 'ivu-col-span-4', isDisabled: true },
          { type: 'input', label: '缴纳比例', placeholder: '缴纳比例', model: 'percent', value: '', style: 'ivu-col-span-4', isDisabled: true },
          { type: 'input', label: '缴纳金额', placeholder: '缴纳金额', model: 'totalAmount', value: '', style: 'ivu-col-span-4', isDisabled: true }
        ]
      },
      {
        itemTitle: 'Employee',
        itemText: '个人部分',
        itemShowRow: true,
        item: [
          { type: 'input', label: '默认基数', placeholder: '默认基数', prop: 'baseAmount', model: 'baseAmount', value: '', style: 'ivu-col-span-5', isDisabled: false, fn: 'inputOnBlur' },
          { type: 'input', label: '最低基数', placeholder: '最低基数', model: 'minAmount', value: '', style: 'ivu-col-span-4', isDisabled: true },
          { type: 'input', label: '最高基数', placeholder: '最高基数', model: 'maxAmount', value: '', style: 'ivu-col-span-4', isDisabled: true },
          { type: 'input', label: '缴纳比例', placeholder: '缴纳比例', model: 'percent', value: '', style: 'ivu-col-span-4', isDisabled: true },
          { type: 'input', label: '缴纳金额', placeholder: '缴纳金额', model: 'totalAmount', value: '', style: 'ivu-col-span-4', isDisabled: true }
        ]
      }
    ]
  },
  {
    sectionTitle: 'Birth',
    sectionText: '生育',
    sectionItem: [
      {
        itemTitle: 'Company',
        itemText: '公司部分',
        itemShowRow: true,
        item: [
          { type: 'input', label: '默认基数', placeholder: '默认基数', prop: 'baseAmount', model: 'baseAmount', value: '', style: 'ivu-col-span-5', isDisabled: false, fn: 'inputOnBlur' },
          { type: 'input', label: '最低基数', placeholder: '最低基数', model: 'minAmount', value: '', style: 'ivu-col-span-4', isDisabled: true },
          { type: 'input', label: '最高基数', placeholder: '最高基数', model: 'maxAmount', value: '', style: 'ivu-col-span-4', isDisabled: true },
          { type: 'input', label: '缴纳比例', placeholder: '缴纳比例', model: 'percent', value: '', style: 'ivu-col-span-4', isDisabled: true },
          { type: 'input', label: '缴纳金额', placeholder: '缴纳金额', model: 'totalAmount', value: '', style: 'ivu-col-span-4', isDisabled: true }
        ]
      },
      {
        itemTitle: 'Employee',
        itemText: '个人部分',
        itemShowRow: true,
        item: [
          { type: 'input', label: '默认基数', placeholder: '默认基数', prop: 'baseAmount', model: 'baseAmount', value: '', style: 'ivu-col-span-5', isDisabled: false, fn: 'inputOnBlur' },
          { type: 'input', label: '最低基数', placeholder: '最低基数', model: 'minAmount', value: '', style: 'ivu-col-span-4', isDisabled: true },
          { type: 'input', label: '最高基数', placeholder: '最高基数', model: 'maxAmount', value: '', style: 'ivu-col-span-4', isDisabled: true },
          { type: 'input', label: '缴纳比例', placeholder: '缴纳比例', model: 'percent', value: '', style: 'ivu-col-span-4', isDisabled: true },
          { type: 'input', label: '缴纳金额', placeholder: '缴纳金额', model: 'totalAmount', value: '', style: 'ivu-col-span-4', isDisabled: true }
        ]
      }
    ]
  },
  {
    sectionTitle: 'SeriousIllness',
    sectionText: '大病医疗',
    sectionItem: [
      {
        itemTitle: 'Company',
        itemText: '公司部分',
        itemShowRow: true,
        item: [
          { type: 'input', label: '默认基数', placeholder: '默认基数', prop: 'baseAmount', model: 'baseAmount', value: '', style: 'ivu-col-span-5', isDisabled: false, fn: 'inputOnBlur' },
          { type: 'input', label: '最低基数', placeholder: '最低基数', model: 'minAmount', value: '', style: 'ivu-col-span-4', isDisabled: true },
          { type: 'input', label: '最高基数', placeholder: '最高基数', model: 'maxAmount', value: '', style: 'ivu-col-span-4', isDisabled: true },
          { type: 'input', label: '缴纳比例', placeholder: '缴纳比例', model: 'percent', value: '', style: 'ivu-col-span-4', isDisabled: true },
          { type: 'input', label: '缴纳金额', placeholder: '缴纳金额', model: 'totalAmount', value: '', style: 'ivu-col-span-4', isDisabled: true }
        ]
      },
      {
        itemTitle: 'Employee',
        itemText: '个人部分',
        itemShowRow: true,
        item: [
          { type: 'input', label: '默认基数', placeholder: '默认基数', prop: 'baseAmount', model: 'baseAmount', value: '', style: 'ivu-col-span-5', isDisabled: false, fn: 'inputOnBlur' },
          { type: 'input', label: '最低基数', placeholder: '最低基数', model: 'minAmount', value: '', style: 'ivu-col-span-4', isDisabled: true },
          { type: 'input', label: '最高基数', placeholder: '最高基数', model: 'maxAmount', value: '', style: 'ivu-col-span-4', isDisabled: true },
          { type: 'input', label: '缴纳比例', placeholder: '缴纳比例', model: 'percent', value: '', style: 'ivu-col-span-4', isDisabled: true },
          { type: 'input', label: '缴纳金额', placeholder: '缴纳金额', model: 'totalAmount', value: '', style: 'ivu-col-span-4', isDisabled: true }
        ]
      }
    ]
  },
  {
    sectionTitle: 'DisabledPersonsSecurityFund',
    sectionText: '残疾人保障金',
    sectionItem: [
      {
        itemTitle: 'Company',
        itemText: '公司部分',
        itemShowRow: true,
        item: [
          { type: 'input', label: '默认基数', placeholder: '默认基数', prop: 'baseAmount', model: 'baseAmount', value: '', style: 'ivu-col-span-5', isDisabled: false, fn: 'inputOnBlur' },
          { type: 'input', label: '最低基数', placeholder: '最低基数', model: 'minAmount', value: '', style: 'ivu-col-span-4', isDisabled: true },
          { type: 'input', label: '最高基数', placeholder: '最高基数', model: 'maxAmount', value: '', style: 'ivu-col-span-4', isDisabled: true },
          { type: 'input', label: '缴纳比例', placeholder: '缴纳比例', model: 'percent', value: '', style: 'ivu-col-span-4', isDisabled: true },
          { type: 'input', label: '缴纳金额', placeholder: '缴纳金额', model: 'totalAmount', value: '', style: 'ivu-col-span-4', isDisabled: true }
        ]
      },
      {
        itemTitle: 'Employee',
        itemText: '个人部分',
        itemShowRow: false,
        item: [
          { type: 'input', label: '默认基数', placeholder: '默认基数', prop: 'baseAmount', model: 'baseAmount', value: '', style: 'ivu-col-span-5', isDisabled: false, fn: 'inputOnBlur' },
          { type: 'input', label: '最低基数', placeholder: '最低基数', model: 'minAmount', value: '', style: 'ivu-col-span-4', isDisabled: true },
          { type: 'input', label: '最高基数', placeholder: '最高基数', model: 'maxAmount', value: '', style: 'ivu-col-span-4', isDisabled: true },
          { type: 'input', label: '缴纳比例', placeholder: '缴纳比例', model: 'percent', value: '', style: 'ivu-col-span-4', isDisabled: true },
          { type: 'input', label: '缴纳金额', placeholder: '缴纳金额', model: 'totalAmount', value: '', style: 'ivu-col-span-4', isDisabled: true }
        ]
      }
    ]
  },
  {
    sectionTitle: 'OutpatientDepartment',
    sectionText: '门诊医疗',
    sectionItem: [
      {
        itemTitle: 'Company',
        itemText: '公司部分',
        itemShowRow: true,
        item: [
          { type: 'input', label: '默认基数', placeholder: '默认基数', prop: 'baseAmount', model: 'baseAmount', value: '', style: 'ivu-col-span-5', isDisabled: false, fn: 'inputOnBlur' },
          { type: 'input', label: '最低基数', placeholder: '最低基数', model: 'minAmount', value: '', style: 'ivu-col-span-4', isDisabled: true },
          { type: 'input', label: '最高基数', placeholder: '最高基数', model: 'maxAmount', value: '', style: 'ivu-col-span-4', isDisabled: true },
          { type: 'input', label: '缴纳比例', placeholder: '缴纳比例', model: 'percent', value: '', style: 'ivu-col-span-4', isDisabled: true },
          { type: 'input', label: '缴纳金额', placeholder: '缴纳金额', model: 'totalAmount', value: '', style: 'ivu-col-span-4', isDisabled: true }
        ]
      },
      {
        itemTitle: 'Employee',
        itemText: '个人部分',
        itemShowRow: true,
        item: [
          { type: 'input', label: '默认基数', placeholder: '默认基数', prop: 'baseAmount', model: 'baseAmount', value: '', style: 'ivu-col-span-5', isDisabled: false, fn: 'inputOnBlur' },
          { type: 'input', label: '最低基数', placeholder: '最低基数', model: 'minAmount', value: '', style: 'ivu-col-span-4', isDisabled: true },
          { type: 'input', label: '最高基数', placeholder: '最高基数', model: 'maxAmount', value: '', style: 'ivu-col-span-4', isDisabled: true },
          { type: 'input', label: '缴纳比例', placeholder: '缴纳比例', model: 'percent', value: '', style: 'ivu-col-span-4', isDisabled: true },
          { type: 'input', label: '缴纳金额', placeholder: '缴纳金额', model: 'totalAmount', value: '', style: 'ivu-col-span-4', isDisabled: true }
        ]
      }
    ]
  },
  {
    sectionTitle: 'AllInsurance',
    sectionText: '所有',
    sectionItem: [
      {
        itemTitle: 'Company',
        itemText: '险种',
        itemShowRow: true,
        item: [
          { type: 'input', label: '默认基数', placeholder: '默认基数', prop: 'baseAmount', model: 'baseAmount', value: '', style: 'ivu-col-span-5', isDisabled: false, fn: 'allInsuranceOnBlue' }
          // {type: 'input', label: '最低基数', placeholder: '最低基数', model: 'minAmount', value: '', style: 'ivu-col-span-4', isShow: false},
          // {type: 'input', label: '最高基数', placeholder: '最高基数', model: 'maxAmount', value: '', style: 'ivu-col-span-4', isShow: false},
          // {type: 'input', label: '缴纳比例', placeholder: '缴纳比例', model: 'percent', value: '', style: 'ivu-col-span-4', isShow: false},
          // {type: 'input', label: '缴纳金额', placeholder: '缴纳金额', model: 'totalAmount', value: '', style: 'ivu-col-span-4', isShow: false},
        ]
      }
    ]
  }
]

// 公积金筛选form
export const FormGongjijinFilter = {
  rangeGUID: '',
  // securityGUID: '',
  insuredTime: new Date(),
  payMonth: '',
  description: ''
}

// 公积金筛选item
export const FormGongjijinFilterItem = [
  { type: 'select', label: '公积金编号', placeholder: '请选择公积金编号', prop: 'securityGUID', model: 'securityGUID', style: 'ivu-col-span-6', options: 'securitys', fn: 'getAddModel2', isShow: true },
  // {type: 'select', label: '公积金方案', placeholder: '请输入公积金方案', prop: 'securityGUID', model: 'securityGUID', style: 'ivu-col-span-6', options: 'securitysPlay2', fn: 'getAddModel2'},
  { type: 'datePicker', label: '参保时间', placeholder: '请选择参保时间', prop: 'insuredTime', model: 'insuredTime', style: 'ivu-col-span-6', fn: 'toCountMonth', isShow: true },
  { type: 'input', label: '补缴月数', placeholder: '请输入补缴月数', prop: 'payMonth', model: 'payMonth', style: 'ivu-col-span-6', fn: 'toCountDate', isShow: true },
  { type: 'input', label: '备注', placeholder: '请输入备注', prop: 'description', model: 'description', style: 'ivu-col-span-6', isShow: true }
]

// 公积金筛选item 仅详情展示
export const FormGongjijinFilterOnlyViewItem = [
  { type: 'select', label: '公积金编号', placeholder: '请选择公积金编号', prop: 'securityNO', model: 'securityNO', style: 'ivu-col-span-6' },
  { type: 'datePicker', label: '参保时间', placeholder: '请选择参保时间', prop: 'insuredTime', model: 'insuredTime', style: 'ivu-col-span-6' },
  { type: 'input', label: '补缴月数', placeholder: '请输入补缴月数', prop: 'payMonth', model: 'payMonth', style: 'ivu-col-span-6' },
  { type: 'input', label: '备注', placeholder: '请输入备注', prop: 'description', model: 'description', style: 'ivu-col-span-6' }
]

// 公积金表头
export const FormGongjijinTitle = [
  { text: '单位/个人', span: '3' },
  { text: '默认基数', span: '5' },
  { text: '最低基数', span: '4' },
  { text: '最高基数', span: '4' },
  { text: '缴纳比例', span: '4' },
  { text: '缴纳金额', span: '4' }
]

// 公积金表单form
export const FormGongjijin = {
  ProvidentFund: {
    Company: {
      baseAmount: '',
      maxAmount: '',
      maxPercent: '',
      minAmount: '',
      minPercent: '',
      paymentType: '',
      percent: '',
      totalAmount: ''
    },
    Employee: {
      baseAmount: '',
      maxAmount: '',
      maxPercent: '',
      minAmount: '',
      minPercent: '',
      paymentType: '',
      percent: '',
      totalAmount: ''
    },
    precision: ''
  }
}

// 公积金表单item
export const FormGongjijinItem = [
  {
    sectionTitle: 'ProvidentFund',
    sectionText: '公积金',
    sectionItem: [
      {
        itemTitle: 'Company',
        itemText: '公司部分',
        item: [
          { type: 'input', label: '默认基数', placeholder: '默认基数', prop: 'baseAmount', model: 'baseAmount', value: '', style: 'ivu-col-span-5', isDisabled: false, fn: 'inputOnBlur' },
          { type: 'input', label: '最低基数', placeholder: '最低基数', model: 'minAmount', value: '', style: 'ivu-col-span-4', isDisabled: true },
          { type: 'input', label: '最高基数', placeholder: '最高基数', model: 'maxAmount', value: '', style: 'ivu-col-span-4', isDisabled: true },
          { type: 'input', label: '缴纳比例', placeholder: '缴纳比例', model: 'percent', value: '', style: 'ivu-col-span-4', isDisabled: true },
          { type: 'input', label: '缴纳金额', placeholder: '缴纳金额', model: 'totalAmount', value: '', style: 'ivu-col-span-4', isDisabled: true }
        ]
      },
      {
        itemTitle: 'Employee',
        itemText: '个人部分',
        item: [
          { type: 'input', label: '默认基数', placeholder: '默认基数', prop: 'baseAmount', model: 'baseAmount', value: '', style: 'ivu-col-span-5', isDisabled: false, fn: 'inputOnBlur' },
          { type: 'input', label: '最低基数', placeholder: '最低基数', model: 'minAmount', value: '', style: 'ivu-col-span-4', isDisabled: true },
          { type: 'input', label: '最高基数', placeholder: '最高基数', model: 'maxAmount', value: '', style: 'ivu-col-span-4', isDisabled: true },
          { type: 'input', label: '缴纳比例', placeholder: '缴纳比例', model: 'percent', value: '', style: 'ivu-col-span-4', isDisabled: true },
          { type: 'input', label: '缴纳金额', placeholder: '缴纳金额', model: 'totalAmount', value: '', style: 'ivu-col-span-4', isDisabled: true }
        ]
      }
    ]
  }
]

// 公积金在职调基筛选form
export const FormGongjijinZZFilter = {
  rangeGUID: '',
  securityGUID: '',
  insuredTime: '',
  month: ''
}

// 公积金在职调基筛选item
export const FormGongjijinZZFilterItem = [
  // {type: 'select', label: '公积金编号', placeholder: '请选择公积金编号', prop: 'aaa', model: 'aaa', style: 'ivu-col-span-6'},
  // {type: 'datePicker', label: '调基时间', placeholder: '请选择调基时间', prop: 'bbb', model: 'bbb', style: 'ivu-col-span-6'}
  { type: 'select', label: '公积金编号', placeholder: '请选择公积金编号', prop: 'rangeGUID', model: 'rangeGUID', style: 'ivu-col-span-6', options: 'securitys', fn: 'getPlanList' },
  { type: 'select', label: '公积金方案', placeholder: '请输入公积金方案', prop: 'securityGUID', model: 'securityGUID', style: 'ivu-col-span-6', options: 'securitysPlay2', fn: 'getAddModel2' },
  { type: 'datePicker', label: '调基时间', placeholder: '请选择调基时间', prop: 'insuredTime', model: 'insuredTime', style: 'ivu-col-span-6', fn: 'toCountMonth' },
  { type: 'input', label: '调基补缴月数', placeholder: '请输入调基补缴月数', prop: 'month', model: 'month', style: 'ivu-col-span-6', fn: 'toCountDate' }
]

// 公积金补缴调基筛选form
export const FormGongjijinBJFilter = {
  rangeGUID: '',
  securityGUID: '',
  insuredTime: '',
  month: ''
}

// 公积金补缴调基筛选item
export const FormGongjijinBJFilterItem = [
  // {type: 'select', label: '公积金编号', placeholder: '请选择公积金编号', prop: 'aaa', model: 'aaa', style: 'ivu-col-span-6'},
  // {type: 'datePicker', label: '调基时间', placeholder: '请选择调基时间', prop: 'bbb', model: 'bbb', style: 'ivu-col-span-6'},
  // {type: 'input', label: '调基补缴月数', placeholder: '请输入调基补缴月数', prop: 'ccc', model: 'ccc', style: 'ivu-col-span-6'}
  { type: 'select', label: '公积金编号', placeholder: '请选择公积金编号', prop: 'rangeGUID', model: 'rangeGUID', style: 'ivu-col-span-6', options: 'securitys', fn: 'getPlanList' },
  { type: 'select', label: '公积金方案', placeholder: '请输入公积金方案', prop: 'securityGUID', model: 'securityGUID', style: 'ivu-col-span-6', options: 'securitysPlay2', fn: 'getAddModel2' },
  { type: 'datePicker', label: '调基时间', placeholder: '请选择调基时间', prop: 'insuredTime', model: 'insuredTime', style: 'ivu-col-span-6', fn: 'toCountMonth' },
  { type: 'input', label: '调基补缴月数', placeholder: '请输入调基补缴月数', prop: 'month', model: 'month', style: 'ivu-col-span-6', fn: 'toCountDate' }
]

// 商保筛选form
export const FormShangbaoFilter = {
  id: '',
  employeeGUID: '',
  securityGUID: '',
  totalAmount: '',
  insuredTime: new Date(),
  description: ''
}

// 商保筛选item
export const FormShangbaoFilterItem = [
  // {type: 'select', label: '异动类型', placeholder: '请选择异动类型', prop: 'aaa', model: 'aaa', style: 'ivu-col-span-6'},
  { type: 'select', label: '商保编号', placeholder: '请选择商保编号', prop: 'securityGUID', model: 'securityGUID', style: 'ivu-col-span-12', options: 'securityNoList', fn: 'getModel' },
  { type: 'input', label: '商保金额', placeholder: '请输入商保金额', prop: 'totalAmount', model: 'totalAmount', style: 'ivu-col-span-12', isDisabled: true },
  { type: 'datePicker', label: '起保时间', placeholder: '请输入起保时间', prop: 'insuredTime', model: 'insuredTime', style: 'ivu-col-span-12', disabledDate: 'shangbaoDisabledDate'},
  { type: 'input', label: '备注', placeholder: '请输入备注', prop: 'description', model: 'description', style: 'ivu-col-span-12' }
]
